﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ADF RID: 2783
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchThreeFinishedLevelInfos : IMessage<MatchThreeFinishedLevelInfos>, IMessage, IEquatable<MatchThreeFinishedLevelInfos>, IDeepCloneable<MatchThreeFinishedLevelInfos>, IBufferMessage
	{
		// Token: 0x17002320 RID: 8992
		// (get) Token: 0x06007C89 RID: 31881 RVA: 0x0014C79D File Offset: 0x0014A99D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchThreeFinishedLevelInfos> Parser
		{
			get
			{
				return MatchThreeFinishedLevelInfos._parser;
			}
		}

		// Token: 0x17002321 RID: 8993
		// (get) Token: 0x06007C8A RID: 31882 RVA: 0x0014C7A4 File Offset: 0x0014A9A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchThreeFinishedLevelInfosReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002322 RID: 8994
		// (get) Token: 0x06007C8B RID: 31883 RVA: 0x0014C7B6 File Offset: 0x0014A9B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchThreeFinishedLevelInfos.Descriptor;
			}
		}

		// Token: 0x06007C8C RID: 31884 RVA: 0x0014C7BD File Offset: 0x0014A9BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeFinishedLevelInfos()
		{
		}

		// Token: 0x06007C8D RID: 31885 RVA: 0x0014C7C5 File Offset: 0x0014A9C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeFinishedLevelInfos(MatchThreeFinishedLevelInfos other) : this()
		{
			this.modeId_ = other.modeId_;
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007C8E RID: 31886 RVA: 0x0014C7F6 File Offset: 0x0014A9F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeFinishedLevelInfos Clone()
		{
			return new MatchThreeFinishedLevelInfos(this);
		}

		// Token: 0x17002323 RID: 8995
		// (get) Token: 0x06007C8F RID: 31887 RVA: 0x0014C7FE File Offset: 0x0014A9FE
		// (set) Token: 0x06007C90 RID: 31888 RVA: 0x0014C806 File Offset: 0x0014AA06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ModeId
		{
			get
			{
				return this.modeId_;
			}
			set
			{
				this.modeId_ = value;
			}
		}

		// Token: 0x17002324 RID: 8996
		// (get) Token: 0x06007C91 RID: 31889 RVA: 0x0014C80F File Offset: 0x0014AA0F
		// (set) Token: 0x06007C92 RID: 31890 RVA: 0x0014C817 File Offset: 0x0014AA17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x06007C93 RID: 31891 RVA: 0x0014C820 File Offset: 0x0014AA20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchThreeFinishedLevelInfos);
		}

		// Token: 0x06007C94 RID: 31892 RVA: 0x0014C82E File Offset: 0x0014AA2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchThreeFinishedLevelInfos other)
		{
			return other != null && (other == this || (this.ModeId == other.ModeId && this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007C95 RID: 31893 RVA: 0x0014C86C File Offset: 0x0014AA6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ModeId != 0U)
			{
				num ^= this.ModeId.GetHashCode();
			}
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007C96 RID: 31894 RVA: 0x0014C8C4 File Offset: 0x0014AAC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007C97 RID: 31895 RVA: 0x0014C8CC File Offset: 0x0014AACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007C98 RID: 31896 RVA: 0x0014C8D8 File Offset: 0x0014AAD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.LevelId);
			}
			if (this.ModeId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ModeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007C99 RID: 31897 RVA: 0x0014C934 File Offset: 0x0014AB34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ModeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ModeId);
			}
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007C9A RID: 31898 RVA: 0x0014C98C File Offset: 0x0014AB8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchThreeFinishedLevelInfos other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ModeId != 0U)
			{
				this.ModeId = other.ModeId;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007C9B RID: 31899 RVA: 0x0014C9DC File Offset: 0x0014ABDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007C9C RID: 31900 RVA: 0x0014C9E8 File Offset: 0x0014ABE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ModeId = input.ReadUInt32();
					}
				}
				else
				{
					this.LevelId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002F98 RID: 12184
		private static readonly MessageParser<MatchThreeFinishedLevelInfos> _parser = new MessageParser<MatchThreeFinishedLevelInfos>(() => new MatchThreeFinishedLevelInfos());

		// Token: 0x04002F99 RID: 12185
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F9A RID: 12186
		public const int ModeIdFieldNumber = 13;

		// Token: 0x04002F9B RID: 12187
		private uint modeId_;

		// Token: 0x04002F9C RID: 12188
		public const int LevelIdFieldNumber = 12;

		// Token: 0x04002F9D RID: 12189
		private uint levelId_;
	}
}
